/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package east2west.interfaces;

import east2west.dto.HotelDTO;
import java.util.ArrayList;

/**
 *
 * @author anhtuan
 */
public interface HotelInterface {

    ArrayList<HotelDTO> readByAll();

    HotelDTO findById(int id);

    ArrayList<HotelDTO> findByRate(int rate);

    ArrayList<HotelDTO> findByCity(String city);

    ArrayList<HotelDTO> findByName(String name);

    ArrayList<HotelDTO> findInfo(HotelDTO hotel);

    int create(HotelDTO hotel);

    boolean update(HotelDTO hotel);

    boolean delete(HotelDTO hotel);

    boolean delete(int id);

    ArrayList<HotelDTO> findByAllOrther(int id);

}
